import service from '@/utils/request'

const BASE_URL = 'api-course'

//商品列表
export function goodsList(data) {
    return service({
        url: `${BASE_URL}/users`,
        method: 'get',
        params: data
    })
}

//简单商品列表
export function simpleGoodsList() {
    return service({
        url: `${BASE_URL}/goods/simple`,
        method: 'get'
    })
}
